feat(init): scaffold dispatcher skill alongside the agent#1499
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9d964cf9-4314-42e5-9e31-1793722e6a42
Contributor
🔍 Rust PR ReviewSummary: Looks good — clean additive change, well-tested, no logic or security issues. Findings
|
jamesadevine
added a commit
that referenced
this pull request
Jul 13, 2026
The committed .github/skills/ado-aw/SKILL.md carried stale v0.44.0 x-release-please-version markers (added in #1499) while the crate is at 0.44.1, so tests/init_tests.rs::test_committed_skill_file_matches_template_output fails on main and on every PR branched from it. Regenerate the release-version markers to match the template output. Pre-existing base-branch drift unrelated to this PR's trigger-e2e changes, fixed here to unblock the required check. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f30758a5-81c8-4024-ab01-52ad22b4f877
jamesadevine
added a commit
that referenced
this pull request
Jul 13, 2026
The committed .github/skills/ado-aw/SKILL.md carried stale v0.44.0 x-release-please-version markers (added in #1499) while the crate is at 0.44.1. tests/init_tests.rs::test_committed_skill_file_matches_template_output regenerates the skill from src/data/init-skill.md and compares byte-for-byte, so this drift fails the required Build & Test check on main and on every branch cut from it. Bump the three prompt URLs + AGENTS.md reference to v0.44.1 to match the template output. Copilot-Session: f30758a5-81c8-4024-ab01-52ad22b4f877 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ado-aw initnow scaffolds a dispatcher skill (.github/skills/ado-aw/SKILL.md) in addition to the existing dispatcher agent (.github/agents/ado-aw.agent.md). This matches howgithub/gh-awinitworks — it emits both an agent (.github/agents/agentic-workflows.md) and a skill (.github/skills/agentic-workflows/SKILL.md) with the same routing content — so Copilot surfaces that consume skills also get the router.The change is additive: the agent file is still written exactly as before.
Changes
src/data/init-skill.md(new) — SKILL.md-format dispatcher template (name: ado-aw+description), same create/update/debug routing and version-pinned prompt URLs asinit-agent.md.src/init.rs— additively creates.github/skills/ado-aw/SKILL.md, substituting{{ compiler_version }}and printing a✓ Createdline..github/skills/ado-aw/SKILL.md(new) — committed repo self-copy (byte-for-byteinitoutput, carrying the literal version +x-release-please-versionmarkers), mirroring how.github/agents/ado-aw.agent.mdis committed.release-please-config.json— added the new skill file toextra-filesso its pinned URLs version-bump in lock-step with the agent file.tests/init_tests.rs— new sync-guardtest_committed_skill_file_matches_template_outputplus skill assertions in the create-path test.docs/cli.mdinitoutput bullet,AGENTS.mdarchitecture tree (init.rs+src/data/), and the agent-docs workflow (.github/workflows/doc-freshness-check.md) audit scope now cover both the agent and skill scaffold files.Distinct from the existing
.github/skills/agentic-workflows/SKILL.mdin this repo (that one is the gh-aw meta dispatcher) — no collision.Test plan
cargo test --test init_tests→ 10/10 passed, including the new byte-for-byte skill sync guard.cargo clippy --all-targets --all-features→ clean.ado-aw init --path <tmp>→ both.github/agents/ado-aw.agent.mdand.github/skills/ado-aw/SKILL.mdare created with the version substituted.